#include "EKRunnableThreadInterface.h"
#include "EKThreadTypes.h"

#pragma region FEKThreadHandleOrigin

uint64 SpawnUniqueID()
{
	return FMath::RandRange(1, 32767) + FDateTime::Now().ToUnixTimestamp();
}

FEKThreadHandleOrigin::FEKThreadHandleOrigin()
	: m_nGUID1(SpawnUniqueID())
	, m_nGUID2(SpawnUniqueID())
	, m_nGUID3(SpawnUniqueID())
	, m_nGUID4(SpawnUniqueID())
	, m_nGUID5(SpawnUniqueID())
	, m_nGUID6(SpawnUniqueID())
{

}

FEKThreadHandleOrigin::~FEKThreadHandleOrigin()
{

}
#pragma endregion 

IEKRunnableThreadInterface::IEKRunnableThreadInterface()
	: m_pEasyKitThreadHandle(MakeShareable(new FEKThreadHandleOrigin()))
{

}

IEKRunnableThreadInterface::~IEKRunnableThreadInterface()
{

}